<%@page import="com.tubeonfire.entity.Channel" %>
<%@page import="com.tubeonfire.service.ChannelService" %>
<%@page import="java.util.List" %>

<%
		List<Channel> listChannel = (List<Channel>) request.getAttribute("listChannel");			
		if(listChannel!=null&&listChannel.size()>0)
		{
			%>
				<h2 class="title-line">Channels</h2>	
			<%
			for(Channel tubChannel : listChannel){
	%>	
		<div class="social-box">
			<a href="/channel/<%=tubChannel.getAlias() %>" title = "<%=tubChannel.getTitle().getValue()%>">
				<img  src="<%=tubChannel.getThumbImageUrl().getValue() %>" alt = "<%=tubChannel.getTitle().getValue()%>" width="48px" height="48px"/>
			</a>
			<div class="social-box-text">
				<span class="social-arrow"></span>
				<span class="social-box-descrip">
					<a href="/channel/<%=tubChannel.getAlias() %>" title = "<%=tubChannel.getTitle().getValue()%>"><%=tubChannel.getTitle().getValue() %></a>
				</span>
				<span class="social-box-count"></span>
			</div>
		</div>	
		<%
		}
	}
%>
	